package db

import (
	pgdb "gsc-datasets/internal/db/sqlc"
)

type DbEntity interface {
	pgdb.User | pgdb.Category | pgdb.Dataset | pgdb.DatasetCategory | pgdb.DatasetCollaborate | pgdb.DatasetEntry | pgdb.DatasetAnnotation | pgdb.ListDatasetEntriesByParentRow | pgdb.ListDatasetAnnotationsByEntryAndUserRow
}

type DbEntityPtr interface {
	*pgdb.User | *pgdb.Category | *pgdb.Dataset | *pgdb.DatasetCategory | *pgdb.DatasetCollaborate | *pgdb.DatasetEntry | *pgdb.DatasetAnnotation | *pgdb.ListDatasetEntriesByParentRow | *pgdb.ListDatasetAnnotationsByEntryAndUserRow
}